package com.ruoyi.project.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import java.util.Date;

@Data
public class SiyuShareCode {

    private Integer id;

    private Long userId;

    private String shareCode;

    private String status;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    public SiyuShareCode() {
    }

    public SiyuShareCode(Long userId, String shareCode) {
        this.userId = userId;
        this.shareCode = shareCode;
    }
}
